import uvicorn
import os
from config import http_proxy, https_proxy

# 指定访问OpenAI API所需的代理
os.environ["http_proxy"] = http_proxy
os.environ["https_proxy"] = https_proxy

if __name__ == "__main__":
    uvicorn.run("server:app", host="127.0.0.1", port=8061)